// import serverRouter from '../router'

// export default async (app) => {
//     serverRouter(app)
//     // await app.use(async (ctx, next) => {
//     //     if (!__DEV__) __webpack_server_public_path__ = `/includes/` // TODO: 移动到配置里
//     //     await next()
//     // })
// }


// import { afterMount } from '../middlewares'
import mountRouter from '../router'

export default (app) => {
    // afterMount(app)
    mountRouter(app)
}